package br.ufpb.esa.plataforma.controller;

import java.io.IOException;

import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.image.ImageView;
import javafx.scene.layout.AnchorPane;

public class FiguraController extends AnchorPane{
	
	@FXML
	private AnchorPane pane;
	@FXML
	private ImageView figuraInicio;
	@FXML
	private ImageView figuraFim;
	@FXML
	private ImageView figuraEntrada;
	@FXML
	private ImageView figuraCalculo;
	
	public FiguraController(){
		
		FXMLLoader loader = new FXMLLoader();
        loader.setLocation(FiguraController.class.getResource("/br/ufpb/esa/plataforma/view/SceneFiguras.fxml"));
        
		loader.setRoot(this);
		loader.setController(this);
	
		try {
			this.pane = (AnchorPane) loader.load();
		} catch (IOException exception) {
			throw new RuntimeException(exception);
		}
	}
	
	public AnchorPane getAnchorPane(){
		return this.pane;
	}
}
